package com.neusoft.neuiotms.dcam.workflow.service;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.neuiotms.dcam.workflow.dto.ProcessApproveDTO;

public interface ProcessApproveService {

    ProcessApproveDTO create(final ProcessApproveDTO dto, UserBean user);

    ProcessApproveDTO detail(String workOrderNum, String taskId, UserBean user);

    ProcessApproveDTO findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

}
